public class Application {
    public static void main(String[] args) {
        Windows windows = new Windows();
        Windows idea = new Idea();
        Windows chrome = new Chrome();
        Windows wechat = new Wechat();
        System.out.println("This is what happened when you press F5 in Windows:");
        windows.pressF5();
        System.out.println("This is what happened when you press F5 in Idea:");
        idea.pressF5();
        System.out.println("This is what happened when you press F5 in Chrome:");
        chrome.pressF5();
        System.out.println("This is what happened when you press F5 in Wechat:");
        wechat.pressF5();
    }
}
